package com.hq.shop11item.api;

import com.hq.commons.ov.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "goods")
public interface GoodsService {

    @GetMapping("/goods/getGoods")
    public List<Goods> getGoods();

}